From: Jonas Dreßler Date: Wed, 26 Apr 2023 17:31:53 +0000 (+0200) Subject: screenshot: Remove leftover code in property getter X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~337^2~2^2~96 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6476e62bff910ae7a781fe962f22bc5939c51ba9;p=gnome-shell.git screenshot: Remove leftover code in property getter According to Ivan (author of that piece of code), this is most likely a leftover from a refactor and has no purpose anymore, so remove it. Part-of: --- diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index fa67ff2d7..91c9635e7 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -1980,9 +1980,6 @@ var ScreenshotUI = GObject.registerClass({ } get screencast_in_progress() { - if (!('_screencastInProgress' in this)) - return false; - return this._screencastInProgress; }